<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>div+css布局</title>

</head>
<body>
    <h1 id="content">块级元素和行内元素</h1>
    <hr>
    <div style="border: 1px solid #990000;width:100px;height: 100px;padding: 100px;margin: 100px">块级元素</div>
    <br>
    <span style="border: 1px solid #00ff00;width: 100px;height: 100px;padding: 100px;margin: 100px">行内元素</span>
    <span>行内元素</span>
    <span>行内元素</span>
    <span>行内元素</span>
    <span>行内元素</span>
</body>
</html>